package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huyalin
 * @since 2018-08-29
 */
@TableName("cost_channel_super")
public class CostChannelSuper extends Model<CostChannelSuper> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("channel_super_id")
    private String channelSuperId;
    @TableField("channel_super_name")
    private String channelSuperName;
    /**
     * 渠道公司
     */
    private String company;
    /**
     * 收支类型
     */
    @TableField("cost_type")
    private String costType;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 对公/私
     */
    @TableField("public_private")
    private String publicPrivate;
    /**
     * 支付类型
     */
    @TableField("pay_type")
    private String payType;
    /**
     * 详细
     */
    private String info;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getChannelSuperId() {
        return channelSuperId;
    }

    public void setChannelSuperId(String channelSuperId) {
        this.channelSuperId = channelSuperId;
    }

    public String getChannelSuperName() {
        return channelSuperName;
    }

    public void setChannelSuperName(String channelSuperName) {
        this.channelSuperName = channelSuperName;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCostType() {
        return costType;
    }

    public void setCostType(String costType) {
        this.costType = costType;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getPublicPrivate() {
        return publicPrivate;
    }

    public void setPublicPrivate(String publicPrivate) {
        this.publicPrivate = publicPrivate;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CostChannelSuper{" +
        "id=" + id +
        ", channelSuperId=" + channelSuperId +
        ", channelSuperName=" + channelSuperName +
        ", company=" + company +
        ", costType=" + costType +
        ", amount=" + amount +
        ", publicPrivate=" + publicPrivate +
        ", payType=" + payType +
        ", info=" + info +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
